<?php

use CodeIgniter\Router\RouteCollection;

/**
 * @var RouteCollection $routes
 */
$routes->get('/', 'Home::index');

$routes->get('travel', 'Travel::index');

$routes->get('/travel/showme/(:any)', 'Travel::showme/$1');

$routes->get('/image/(:any)', 'Media::image/$1');

$routes->get('home', 'Home::index');


$routes->get('travel', 'Travel::index'); // 处理 /travel 路由


